﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion

#region Usings

#endregion

namespace ScrumTable.Common.Collections
{
    /// <summary>
    /// Gets a wrapper for a single value (needed for WPF Binding) 
    /// </summary>
    public class Single<T>
    {
        #region Properties
        //--------------------------------------------------------------------
        // Properties
        //--------------------------------------------------------------------

        /// <summary>
        /// Stores the value
        /// </summary>
        public T Value { get; set; }
        #endregion

        #region Constructors / Destructor
        //--------------------------------------------------------------------
        // Constructors / Destructor
        //--------------------------------------------------------------------

        /// <summary>
        /// 
        /// </summary>
        /// <param name="single"></param>
        public Single(T single)
        {
            Value = single;
        }

        #endregion
    }
}
